package com.zc.app.service;

//import com.zc.app.dao.mapper.InventoryEveryTotalMapper;
//import com.zc.app.dao.peer.InventoryEveryTotal;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by zc on 2016/1/20.
 */
//@Service("inventoryEveryTotalService")
//@Transactional(value = "transactionManager")
public class InventoryEveryTotalService {

//    @Autowired
//    private InventoryEveryTotalMapper mapper;

//    @Transactional(rollbackFor = Exception.class)
//    public int insertInventory(InventoryEveryTotal peer) throws Exception {
//        mapper.insert(peer);
//        throw new Exception("error");
//        return 0;
//    }

    public String sayHello(){
        return "Hello";
    }

}
